* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
html,
li,
nav,
p,
ul {
    margin: 0;
    padding: 0;

}

body {
    color: #000;
    overflow-x: hidden;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-text-size-adjust: none;
    -moz-user-select: none;
    max-width: 540px;
    margin: 0 auto;
    background: #f4f4f4;
    font: normal 16px/1.5 PingFangSC-regular, Tahoma, Lucida Grande, Verdana, Microsoft Yahei, STXihei, hei;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    color: #333;
}

img,
input {
    -webkit-touch-callout: none;
    vertical-align: middle;
}

input,
button {
    outline: none;
    border: 0;
}

em,
i {
    font-style: normal;
}

@font-face {
    font-family: 'iconfont';
    src: url('../font/iconfont.woff2?t=1622111823092') format('woff2'),
        url('../font/iconfont.woff?t=1622111823092') format('woff'),
        url('../font/iconfont.ttf?t=1622111823092') format('truetype');
}

em {
    font-family: 'iconfont';
}

header {
    width: 100%;
    max-width: 540px;
    height: 50px;

    .search {
        position: fixed;
        display: flex;
        top: 0;
        left: 50%;
        transform: translate(-50%, 0);
        width: 100%;
        max-width: 540px;
        height: 50px;
        padding: 12px 12px 6px;
        background-color: #fff;
        z-index: 999;

        a {
            display: flex;
            width: 100%;
            height: 100%;
            border: 1px solid #0086f6;
            border-radius: 16px;
            align-items: center;
            font-size: 15px;
            color: #999;

            em {
                width: 20px;
                height: 20px;
                margin: 0 5px 0 15px;
                color: #666;
            }
        }
    }
}

footer {
    height: 50px;

    .footer_nav {
        position: fixed;
        display: flex;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 0);
        width: 100%;
        max-width: 540px;
        height: 50px;
        background-color: #fff;

        .current {
            color: #0086f6;
        }

        a {
            display: flex;
            flex: 1;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: #666;

            em {
                font-size: 20px;
            }

            i {
                font-size: 12px;
            }
        }
    }
}